﻿create table [dbo].[LogEntry]
(
	[ExceptionId]                   int                 not null        identity(1, 1) primary key
	, [InnerExceptionId]            int                 null
	, [ConcurrencyId]               rowversion          not null
	, [PublicationId]               uniqueidentifier    not null
	, [AppDomainId]                 int                 not null
	, [AssemblyId]                  int                 not null
	, [MachineId]					int					not null
	, [ProcessId]                   int                 not null
	, [ThreadId]                    int                 not null
	, [WorkItemId]					int					null
	, [LogEntry]                    nvarchar(max)       not null
	, [Priority]                    int                 not null
	, [Type]                        int                 not null
	, [SerializedIIdentityXml]      xml                 null
	, [IIdentityName]               nvarchar(255)       not null
	, [IIdentityIsAuthenticated]    bit                 not null
	, [IIdentityAuthenticationType] nvarchar(255)       not null
	, [Created]                     datetime2           not null
	, [Updated]                     datetime2           not null
)
